package cn.yunhe.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2018/5/22.
 */
public class Score implements Serializable {
    private int score_id;
    private Paper paper;
    private Student student;
    private String answer;
    private int score;
    private Date k_date;
    private int full;

    public Score() {
    }

    public Score(String answer, int full, Date k_date, Paper paper, int score, int score_id, Student student) {
        this.answer = answer;
        this.full = full;
        this.k_date = k_date;
        this.paper = paper;
        this.score = score;
        this.score_id = score_id;
        this.student = student;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public int getFull() {
        return full;
    }

    public void setFull(int full) {
        this.full = full;
    }

    public Date getK_date() {
        return k_date;
    }

    public void setK_date(Date k_date) {
        this.k_date = k_date;
    }

    public Paper getPaper() {
        return paper;
    }

    public void setPaper(Paper paper) {
        this.paper = paper;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getScore_id() {
        return score_id;
    }

    public void setScore_id(int score_id) {
        this.score_id = score_id;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "Score{" +
                "answer='" + answer + '\'' +
                ", score_id=" + score_id +
                ", paper=" + paper +
                ", student=" + student +
                ", score=" + score +
                ", k_date=" + k_date +
                ", full=" + full +
                '}';
    }
}
